package tech.aistar;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//把mapper交给ioc容器管理
@MapperScan(basePackages = "tech.aistar.mapper")
//开启事务注解
@EnableTransactionManagement

@SpringBootApplication
public class YuezhiSpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(YuezhiSpringbootApplication.class, args);
    }

}
